# srcDir <- '~/src/codeplex/r2clr'
# srcDir <- 'f:/codeplex/r2clr'
srcDir <- 'c:/src/codeplex/r2clr'
theDir <- file.path(srcDir, 'doc','Com','presentations')
stopifnot(file.exists(theDir))
library(knitr)
# See C:\src\codeplex\r2clr\doc\rclr_documentation.Rmd
# The presentation should be created with knitr loaded only: so that the output of library(rClr) is captured:
setwd(theDir)
rnwFiles <- list.files(pattern='Rnw')

knit2pdf(input=rnwFiles[1])

